package com.wqtz.chechai.bean;

import java.util.List;

/**
 * 项目名称： CheChai
 * 创建人 : Liberation
 * 创建时间: 2016/12/28 13:56
 */

public class SeriesBean {


	/**
	 * reason : 成功返回
	 * result : {"pinpai_list":[{"ppid":"2000023","ppname":"东风本田","xilie":[{"xlid":"20001819","xlname":"思铭"},{"xlid":"20001620","xlname":"思铂睿"},{"xlid":"20002322","xlname":"本田XRV"},{"xlid":"20000173","xlname":"思域Civic"},{"xlid":"20002062","xlname":"杰德"},{"xlid":"20000216","xlname":"本田CRV"},{"xlid":"20001818","xlname":"艾力绅"},{"xlid":"20002461","xlname":"哥瑞"}]},{"ppid":"2000032","ppname":"广州本田","xilie":[{"xlid":"20001290","xlname":"思迪"},{"xlid":"20001628","xlname":"理念S1"},{"xlid":"20001413","xlname":"雅阁"},{"xlid":"20001590","xlname":"歌诗图"},{"xlid":"20000819","xlname":"飞度"},{"xlid":"20002206","xlname":"缤智"},{"xlid":"20000858","xlname":"锋范"},{"xlid":"20002074","xlname":"凌派"},{"xlid":"20000490","xlname":"奥德赛"},{"xlid":"20002459","xlname":"锋范经典"}]},{"ppid":"3000244","ppname":"本田 Honda (进口)","xilie":[{"xlid":"20000640","xlname":"雅阁(进口)"},{"xlid":"20000641","xlname":"思域(进口)"},{"xlid":"20000642","xlname":"本田CR-V(进口)"},{"xlid":"20000644","xlname":"里程(进口)"},{"xlid":"20000649","xlname":"时韵(进口)"},{"xlid":"20001922","xlname":"飞度(进口)"},{"xlid":"20001923","xlname":"INSIGHT音赛特(进口)"},{"xlid":"20002460","xlname":"本田CR-Z(进口)"}]}]}
	 * error_code : 0
	 */

	private String reason;
	private ResultBean result;
	private int error_code;

	@Override
	public String toString() {
		return "SeriesBean{" +
				"reason='" + reason + '\'' +
				", result=" + result +
				", error_code=" + error_code +
				'}';
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public ResultBean getResult() {
		return result;
	}

	public void setResult(ResultBean result) {
		this.result = result;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}


	public static class ResultBean {
		private List<PinpaiListBean> pinpai_list;

		public List<PinpaiListBean> getPinpai_list() {
			return pinpai_list;
		}

		public void setPinpai_list(List<PinpaiListBean> pinpai_list) {
			this.pinpai_list = pinpai_list;
		}

		public static class PinpaiListBean {

			/**
			 * ppid : 2000023
			 * ppname : 东风本田
			 * xilie : [{"xlid":"20001819","xlname":"思铭"},{"xlid":"20001620","xlname":"思铂睿"},{"xlid":"20002322","xlname":"本田XRV"},{"xlid":"20000173","xlname":"思域Civic"},{"xlid":"20002062","xlname":"杰德"},{"xlid":"20000216","xlname":"本田CRV"},{"xlid":"20001818","xlname":"艾力绅"},{"xlid":"20002461","xlname":"哥瑞"}]
			 */

			private String ppid;
			private String ppname;
			private List<XilieBean> xilie;

			@Override
			public String toString() {
				return "PinpaiListBean{" +
						"ppid='" + ppid + '\'' +
						", ppname='" + ppname + '\'' +
						", xilie=" + xilie +
						'}';
			}

			public String getPpid() {
				return ppid;
			}

			public void setPpid(String ppid) {
				this.ppid = ppid;
			}

			public String getPpname() {
				return ppname;
			}

			public void setPpname(String ppname) {
				this.ppname = ppname;
			}

			public List<XilieBean> getXilie() {
				return xilie;
			}

			public void setXilie(List<XilieBean> xilie) {
				this.xilie = xilie;
			}

			public static class XilieBean {
				@Override
				public String toString() {
					return "XilieBean{" +
							"xlid='" + xlid + '\'' +
							", xlname='" + xlname + '\'' +
							'}';
				}

				/**
				 * xlid : 20001819
				 * xlname : 思铭
				 */


				private String xlid;
				private String xlname;

				public String getXlid() {
					return xlid;
				}

				public void setXlid(String xlid) {
					this.xlid = xlid;
				}

				public String getXlname() {
					return xlname;
				}

				public void setXlname(String xlname) {
					this.xlname = xlname;
				}
			}
		}
	}
}
